package com.dao;

import com.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
public interface UserMapper {
    void addUser(User user);
    void delUserById(String id);
    void updateUser(User user);
    List<User> selectUserAll();
    List<User> selectUserById(String id);
    List<User> selectUserByMail(String mail);
    List<User> selectUSerByTel(String tel);
}
